<template>
	<view>
		<view class="member_list">
			<view class="member_item" v-for="(item,index) in memberList" :key="index">
				<image :src="item.image" mode=""></image>
				<view class="info_box">
					<text>{{item.name}}</text>
					<text class="time">{{item.time}}</text>
				</view>
				<text class="member_type">{{item.type==0?'普通会员':'超级会员'}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				memberList:[
					{image:'https://mg-print.oss-cn-shenzhen.aliyuncs.com/img/agreement.png',name:'MYT_452955',time:'2024-08-21 18:48:38',type:0},
					{image:'https://mg-print.oss-cn-shenzhen.aliyuncs.com/img/agreement.png',name:'MYT_452955',time:'2024-08-21 18:48:38',type:0},
					{image:'https://mg-print.oss-cn-shenzhen.aliyuncs.com/img/agreement.png',name:'MYT_452955',time:'2024-08-21 18:48:38',type:0}
				]
			};
		}
	}
</script>

<style lang="scss" scoped>
	.member_list{
		display: flex;
		flex-direction: column;
		image{
			width: 110rpx;
			height: 110rpx;
		}
		.member_item{
			.member_type{
				font-size: 28rpx;
				color: #747474;
			}
			.info_box{
				height: 100%;
				flex: 1;
				margin-left: 20rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				.time{
					font-size: 24rpx;
					color: #d0d0d0;
					margin-top: 20rpx;
				}
				
				
			}
			display: flex;
			justify-content: space-between;
			padding: 20rpx;
			border-bottom: 1rpx solid #fafafa;
			align-items: center;
			&:nth-last-child(1){
				border-bottom: none;
			}
		}
	}

</style>
